using System.ComponentModel.DataAnnotations;

namespace LowCoding.Dto.Basic
{
    /// <summary>
    /// 代码表
    /// </summary>
    public class RefCodesInput
    {
        /// <summary>
        /// 域名代码
        /// </summary>
        /// <example></example>
        [Required(ErrorMessage = "域名代码不能为空")]
        public string RvDomain { get; set; }

        /// <summary>
        /// 企业ID
        /// </summary>
        /// <example></example>
        public string RvFltId { get; set; }

        /// <summary>
        /// 值
        /// </summary>
        /// <example></example>
        //[Required(ErrorMessage = "类型代码不能为空")]
        public string RvLowValue { get; set; }

        /// <summary>
        /// 中文名称
        /// </summary>
        /// <example></example>
        [Required(ErrorMessage = "中文名称不能为空")]
        public string RvCmeaning { get; set; }

        /// <summary>
        /// 英文名称
        /// </summary>
        /// <example></example>
        public string RvEmeaning { get; set; }

        /// <summary>
        /// 高值
        /// </summary>
        /// <example></example>
        public string RvHighValue { get; set; }

        /// <summary>
        /// EDI码
        /// </summary>
        /// <example></example>
        public string RvEdicode { get; set; }

        /// <summary>
        /// 有效标志  Y有效  N无效
        /// </summary>
        /// <example></example>
        public string RvIsvalid { get; set; }

        /// <summary>
        /// 缺省值
        /// </summary>
        /// <example></example>
        public string RvDefault { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        /// <example></example>
        public string Remark { get; set; }

        /// <summary>
        /// ID
        /// </summary>
        /// <example></example>
        public string Id { get; set; }
    }
}